#ifndef UTILS_PAGE_H
#define UTILS_PAGE_H

#include <string.h>
#include <utils/pagesize.h>
#include <utils/getorder.h>
#include <asm/utils/page.h>

#ifndef __ARCH_HAVE_CLEAR_PAGE
#define clear_page(page)	memset((page), 0, UTILS_PAGE_SIZE)
#endif

#ifndef __ARCH_HAVE_COPY_PAGE
#define copy_page(to,from)	memcpy((to), (from), UTILS_PAGE_SIZE)
#endif

#endif /* !UTILS_PAGE_H */
